package com.bcbim.smart_water_interface.health.vo;

import com.bcbim.common.response.annotation.TranslationField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * @Description: 健康检测信息
 * @Author: ye
 * @Date: 2021/8/27
 * @Version: V1.0
 **/
@Data
public class HealthManagementInfoVO implements Serializable {
    /**
     * 健康检测id
     */
    private String healthId;
    /**
     * 管线id
     */
    private String lineId;
    /**
     * 起始井号
     */
    private String startPointCode;
    /**
     * 终止井号
     */
    private String endPointCode;
    /**
     * 敷设年代
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE, pattern = "yyyy-MM-dd")
    private LocalDate constructionDate;
    /**
     * 起始埋深
     */
    private Double startBury;
    /**
     * 终止埋深
     */
    private Double endBury;
    /**
     * 管段类型
     */
    private String usesType;
    @TranslationField(typeFlag = "usesType")
    private String uses;
    /**
     * 管段材质
     */
    private String materialType;
    @TranslationField(typeFlag = "materialType")
    private String material;
    /**
     * 管径
     */
    private String diameter;
    /**
     * 监测方向
     */
    private String direction;
    /**
     * 管段长度
     */
    private Double lengthLine;
    /**
     * 监测长度
     */
    private Double detectionLine;
    /**
     * 修复参数
     */
    private Double repairIndex;
    /**
     * 养护指数
     */
    private Double maintenanceIndex;
    /**
     * 检测人员
     */
    private String monitoringPersonnel;
    /**
     * 检测地点
     */
    private String monitoringSite;
    /**
     * 检测日期
     */
    private String monitoringDate;
    /**
     * 备注
     */
    private String remark;
    /**
     * 缺陷
     */
    private List<FlawManagementInfoVO> arrFlaw;

    private String lineType;
}
